Skip to content

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 11, 2025

fix: Return Completable from saveArtifact in CallbackContext

The return type of the artifactService is Single, meaning it doesn't get scheduled to execute until it is subscribed. Today it's not subscribed. This is a bug leads to saveArtifact never executes.

Changing the return type to Completable allows clients subscribe to it and fits naturally with the async pattern of Orcas APIs.

@copybara-service copybara-service bot changed the title fix: Make saveArtifact in CallbackContext synchronous fix: Return Completable from saveArtifact in CallbackContext Oct 15, 2025
The return type of the artifactService is Single, meaning it doesn't get scheduled to execute until it is subscribed. Today it's not subscribed. This is a bug leads to saveArtifact never executes.

Changing the return type to Completable allows clients subscribe to it and fits naturally with the async pattern of Orcas APIs.

PiperOrigin-RevId: 817930873
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant